Show AllShow All

Create a connectable Spreadsheet Web Part

This procedure describes how to create two Spreadsheet Web Parts that implement Web Part connection interfaces. To make the example clearer, it assumes you are creating these two Web Parts by using the Suppliers and Products tables from the Northwind sample database on Microsoft SQL Server:

Because a one-to-many relationship exists between the Suppliers and Products tables on the SupplierID column, these two Web Parts can be connected to provide the SupplierID value from the Suppliers Web Part to filter the rows displayed in the Products Web Part. However, you can create similar Web Parts by using any data source that has a one-to-many relationship based on a single column.

Note  You can make the process of creating a Spreadsheet Web Part simpler by using the Spreadsheet Web Part Add-in for Microsoft Office Excel 2003. This add-in is available for download from the Microsoft Download Center Web Site.

ShowCreate a row provider Spreadsheet Web Part

ShowCreate a filter consumer Spreadsheet Web Part

ShowImport and connect the Web Parts